<clickhouse>
    <storage_configuration>
        <disks>
            <disk_s3>
                <type>s3</type>
                <endpoint>http://minio1:9001/root/data/</endpoint>
                <access_key_id>minio</access_key_id>
                <secret_access_key>minio123</secret_access_key>
            </disk_s3>
            <disk_s3_encrypted>
                <type>encrypted</type>
                <disk>disk_s3</disk>
                <key>1234567812345678</key>
                <path>encrypted/</path>
            </disk_s3_encrypted>
            <disk_s3_encrypted_with_diff_keys>
                <type>encrypted</type>
                <disk>disk_s3</disk>
                <path>encrypted_with_diff_keys/</path>
            </disk_s3_encrypted_with_diff_keys>
        </disks>
        <policies>
            <s3_policy>
                <volumes>
                    <main>
                        <disk>disk_s3</disk>
                    </main>
                    <external>
                        <disk>disk_s3_encrypted</disk>
                    </external>
                </volumes>
            </s3_policy>
            <s3_encrypted_policy>
                <volumes>
                    <main>
                        <disk>disk_s3_encrypted</disk>
                    </main>
                </volumes>
            </s3_encrypted_policy>
            <s3_encrypted_policy_with_diff_keys>
                <volumes>
                    <main>
                        <disk>disk_s3_encrypted_with_diff_keys</disk>
                    </main>
                </volumes>
            </s3_encrypted_policy_with_diff_keys>
         </policies>
    </storage_configuration>
</clickhouse>
